import { createRouter, createWebHashHistory } from 'vue-router'
import IndexView from "@/views/IndexView.vue";
import DatabaseSyncView from "@/views/DatabaseSyncView.vue";

const router = createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            path: '/',
            component: IndexView,
            redirect: '/databaseSync',
            children: [
                {
                    path: '/databaseSync',
                    component: DatabaseSyncView
                }
            ]
        }
    ]
})

export default router;